<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_元素显示模式</title>
    <style>
        div{
            width:200px;
            height:200px;
            border:5px solid #f00;
            display: block;
        }
        span{
            background-color: #ff0;
            width:100px;
            height:100px;
            display: inline;
            display: block;
        }
        input,button{
            width:100px;
            height:100px;
            background-color: pink;
            display : inline-block;
        }
        .d2:hover{
           display: none;
        }
    </style>
</head>
<body>
<div class="d1">111</div>
<div class="d2">222</div>
<div class="d3">333</div>
<hr>
<span>123456789</span>
<span>123456789</span>
<span>123456789</span>
<hr>
<input type="text">
<input type="text">
<button>按钮</button>
</body>
</html>